package com.lxh.spring.dao;
import com.lxh.spring.model.User;

import java.util.List;
import java.util.Map;

/**
 * @author 1506101101-罗兴华
 * @version 2017-10-29 10:35
 */
public interface IUserDao {
    public void add(User user);

    public void update(User user);

    public void delete(int id);

    public Map<String, Object> load(int id);

    public List<Map<String, Object>> list();
}
